package VUTHANHPHUC_HOMEWORK_OOP_LV2;

import java.util.Scanner;

public class OctagonViews {
	public static void main(String[] args) {
		Octagon objC = new Octagon();
		Scanner nhap = new Scanner(System.in);
		double side;
		System.out.println("Input side:");
		side = nhap.nextDouble();
		objC.setSide(side);
		OctagonControllers oct = new OctagonControllers(objC);
		System.out.println("" + oct.Area());
		System.out.println("" + oct.Perimeter());
	}
}
